<script language="javascript" type="text/javascript" src="js/feature.tab.js"></script>

<div class="header">	
	<div class="pageLinks">
		<a href="#/機能" onclick="loadPage('機能');return false;">機能</a> &gt;
		<a href="#/<?php echo $parent_page ?>" onclick="loadPage('<?php echo $parent_page ?>');return false;"><?php echo $parent_page ?></a> &gt;
		<strong>挙手表示</strong>
	</div>
	<div class="Group_name">
		グループ： <?php echo $group_name ?>
	</div>
	<div class="Help" style="position:absolute;top:55px;left:652px;">
		<img src="image/Help_Button.gif" onclick="showHelp('check');" />
	</div>
</div>

<div class="tab_content">

	<div>
		<table id="checkTable" width="100%"  border="1px" >
			<tr class="titleRow" style="color:#fff">
				<td colspan="3">挙手内容</td>
			</tr>
		<tr class="titleRow">
			<th width="12%">アイコン</th>
			<th width="26%">名前</th>
			<th width="62%">内容</th>
		</tr>
		<tr>
			<td style="text-align:center;padding:5px 3px 3px 3px;">
				<img width="46" src="<?php echo $main_tweet->icon; ?>">
			</td>
			<td><?php echo $main_tweet->name; ?></td>
			<td><?php echo $main_tweet->comment; ?></td>
		</tr>

		</table>
		<h2>回答済み者</h2>
		<table id="checkTable" width="100%" border="1px" >
			<?php if (!empty($answers)) { ?>
				<tr style="background-color:#5fa2f1;">
					<th width="12%">アイコン</th>
					<th width="20%">名前</th>
					<th width="20%">twitter名</th>
					<th width="8%">状態</th>
					<th width="30%">コメント</th>
				</tr>
			<?php } else { ?>
				<tr>
					<td>回答者は現在いません。</td>
				</tr>
			<?php } foreach ($answers as $answer) { ?>
				<tr>
					<td style="text-align:center;padding:5px 3px 3px 3px;"><img width="46" src="<?php echo $answer->tweet->icon ?>"></td>
					<td><?php echo $answer->name ?></td>
					<td><?php echo $answer->tweet->author ?></td>
					<td style="text-align:center"><?php echo $answer->status ?></td>
					<td><?php echo $answer->tweet->comment ?></td>
				</tr>
			<?php } ?>
		</table>
		<?php if (!empty($no_answers)) { ?>
			<h2>未回答者</h2>
			<table id="checkTable" width="57%"  border="1px">
				<tr style="background-color:#5fa2f1;">
					<th width="12%">アイコン</th>
					<th width="22.5%">名前</th>
					<th width="22.5%">twitter名</th>
				</tr>
				<?php foreach ($no_answers as $no_answer) { ?>
					<tr>
						<td style="text-align:center;padding:5px 3px 3px 3px;"><img width="46" src="<?php echo $no_answer->icon?>"></td>
						<td><?php echo $no_answer->name?></td>
						<td><?php echo $no_answer->twitter_username?></td>
					</tr>
				<?php } ?>
		<?php } ?>
		</table>
		<input type="button" value="更新" onclick="loadPage('reload');"style="margin:20px 0 0 91.5%;">
	</div>
</div>